<?php
//获取工程目录

echo __FILE__."\r\n";
// echo ( dirname ( __FILE__ );
echo dirname ( dirname ( __FILE__ ) )."\r\n";

$vendorDir = dirname ( dirname ( __FILE__ ) );
$baseDir = dirname ( $vendorDir );
echo $baseDir;

